<%-- 
    Document   : sign_up
    Created on : Jun 1, 2016, 2:42:57 PM
    Author     : niugao
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ include file="common.jsp" %>

<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>管理注册</title>
    <link rel="stylesheet" type="text/css" href="/css/main.css">
    <link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css">
    <script src="/js/jquery-1.12.4.min.js"></script>
    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="/js/bootstrap.min.js"></script>
    <style>
        .container input {
            width: 100%;
        }

        .container div {
            margin: 5px 0px;
        }
    </style>
</head>
<body>
<!-- 很多页面都使用这个顶部栏，所以拿出来放到一个单独文件中 -->
<jsp:include page="componse/top_bar.jsp" flush="true"/>

<div style="text-align: center;">
    <div class="container" style="width: 400px;margin: 10px auto;text-align: left; ">
        <form method="POST" action="/account/register">
            <div class="row">
                <div class="col-md-12">
                    姓名： <input type="text" name="name" />
                </div>
            </div>
            <div class="row">
                <div class="col-md-12">
                    密码： <input type="password" name="password"/>
                </div>
            </div>
            <div class="row">
                <div class="col-md-12">
                    电话： <input type="text" name="phone"/>
                </div>
            </div>
            <div class="row">
                <div class="col-md-12">
                    邮箱： <input type="text" name="email"/>
                </div>
            </div>
            <div class="row">
                <div class="col-md-12">
                    地址： <input type="text" name="address"/>
                </div>
            </div>
            <div class="row" style="border-top:solid 1px;">
                <div class="col-sm-12">
                    <input type="submit"  value="提交"/>
                </div>
            </div>
        </form>
        <form action="/account/quxiao">
            <div class="col-sm-12">
                <input type="submit"  value="返回"/>
            </div>

        </form>



        <div class="row" class="errobox">
            ${errMsg}
        </div>
    </div>
</div>
</body>
</html>